package com.kakarote.examine.entity.BO;

import com.kakarote.examine.entity.PO.ExamineFlowFieldUpdateLog;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("crm审核对象")
public class ExamineBO {

    @ApiModelProperty("审核记录ID")
    private Long recordId;

    @ApiModelProperty("审核流程ID(status=2为拒绝返回节点id)")
    private Long flowId;

    @ApiModelProperty("审核状态")
    private Integer status;

    @ApiModelProperty("相关审核ID")
    private Long typeId;

    @ApiModelProperty("审核备注")
    private String remarks;

    @ApiModelProperty("审核人ID")
    private Long examineUserId;

    @ApiModelProperty("审核对象(批量)")
    private List<ExamineBO> examineBOS;

    @ApiModelProperty("(app端使用)1合同2回款3发票4办公审批")
    private Integer type;

    @ApiModelProperty("使用传入审核人来进行后续审核 1使用传入")
    private Integer passFlag = 0;

    @ApiModelProperty("用户邮箱")
    private String userEmail;

    @ApiModelProperty("邮件的token")
    private String emailToken;

    @ApiModelProperty("详见PassFlagEnum")
    private Integer auditPassFlag = 0;

    @ApiModelProperty("关联数据")
    private Object data;

    @ApiModelProperty("是否发送消息（0：不发送，1：发送）")
    private Integer isSendMessage;

    @ApiModelProperty("业务模块类型")
    private Integer label;

    @ApiModelProperty("examineId")
    private Long examineId;

    @ApiModelProperty("修改字段信息")
    private List<ExamineFlowFieldUpdateLog> flowFieldUpdateLogs;
}
